﻿using FFLTask.SRV.ProdService.ViewModelMap.Helper;
using TaskContentModel = FFLTask.SRV.ViewModel.Task.Content;
using TaskModel = FFLTask.SRV.ViewModel.Task;
using Entity = FFLTask.BLL.Entity;
using AutoMapper;
using FFLTask.GLB.Global.Enum;

namespace FFLTask.SRV.ViewModelMap.TaskMapAuto
{
    class NewModelMap
    {
        internal static void init()
        {
            Mapper.CreateMap<Entity.Task, TaskModel.NewModel>()
                .IgnoreAllNonExisting()
                ;
            Mapper.CreateMap<TaskModel.NewModel, Entity.Task>()
                .IgnoreAllNonExisting()
                ;
        }
    }
}
